<!DOCTYPE html>
<style>
  .bluebg {
    background-color: #0000FF7F;
  }
</style>
<body>
    <div>
        <span class="bluebg">12</span>
    </div>
    <div>
        <span class="bluebg">12</span>
    </div>
    <div>
        <span class="bluebg">1234</span><span>consecutive inline item</span>
    </div>
    <div>
        <span class="bluebg">24</span>
    </div>
</body>
